<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>

        function test() {
            var xhr = new XMLHttpRequest();
            xhr.open('GET', "https://api.github.com/emojis");
            xhr.responseType = 'json';

            xhr.onload = function() {
                console.log(xhr.response);
            };

            xhr.onerror = function() {
                console.log("Oops, error");
            };

            xhr.send();
        }

        setTimeout(function () {
            test();
//            var obj = {
//                "0":'A',
//                "1":'B',
//            }
//            var ooo = Array.from(obj);
//            console.log(ooo);
        }, 1200);
    </script>
</head>
<body>

</body>
</html>